public class text1 {
    public static void main(String[] args) {
        MyCircularQueue myCircularQueue = new MyCircularQueue(4);
        myCircularQueue.offer(11);
        myCircularQueue.offer(12);
        myCircularQueue.offer(23);
        System.out.println(myCircularQueue.top());
        System.out.println(myCircularQueue.peek());
        System.out.println(myCircularQueue.isFull());
        System.out.println(myCircularQueue.isEmpty());
    }
}
